/**
 * Created by liujie on 2017/10/8.
 */
;(function ($) {
    var leftMenus = [
        "/dataManage",
        "/accountManage",
        "/deviceManage",
        "/roleManage"
    ];
    $("ul.nav-box-left").on("click","li>a.left-menu",function () {
        $("ul.nav-box-left").find("a").removeClass("active");
        $(this).addClass("active");
        $.link(leftMenus[$(this).attr("hrefIndex")])
    });

})(jQuery);